package cc.rengu.redp.bizimpl.csmc.controller;


import cc.rengu.redp.bizimpl.csmc.domain.CTxncdConv;
import cc.rengu.redp.bizimpl.csmc.service.ICTxncdConvService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author lizk
 */
@RestController
@RequestMapping("/admin/csmc/txncdConv")
public class CTxncdConvController {

    @Autowired
    private ICTxncdConvService txncdConvService;

    @GetMapping
    public List<CTxncdConv> findAllTxnNUm() {
        return txncdConvService.findAllTxnNUm();
    }

}
